//
//  CZLuckyController.m
//  A01-CZ彩票
//
//  Created by apple on 15-6-14.
//  Copyright (c) 2015年 itcast. All rights reserved.
//

#import "CZLuckyController.h"

@interface CZLuckyController ()
@property (weak, nonatomic) IBOutlet UIImageView *imageView;

@end

@implementation CZLuckyController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.

    UIImage *img1 = [UIImage imageNamed:@"lucky_entry_light0"];
    UIImage *img2 = [UIImage imageNamed:@"lucky_entry_light1"];

    self.imageView.animationImages = @[img1,img2];
    self.imageView.animationRepeatCount = 0;
    self.imageView.animationDuration = 0.5;
    [self.imageView startAnimating];

}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
